/* 题目管理页面样式 */
.question-admin-page .ant-page-header {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.question-admin-page .ant-pro-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 表头样式 */
.question-admin-page .ant-pro-table > .ant-card > .ant-card-head {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

/* 操作按钮样式 */
.action-link {
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s;
}

.action-link.danger {
    color: #ff4d4f;
}

.action-link.danger:hover {
    color: #ff7875;
}

/* 批量操作区域样式 */
.selection-alert {
    padding: 12px 16px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 6px;
    margin-bottom: 16px;
}

.batch-actions {
    padding: 12px 0;
}

.batch-btn {
    border-radius: 6px;
    font-weight: 500;
}

.batch-btn.danger {
    background: #ff4d4f;
    border-color: #ff4d4f;
}

.batch-btn.danger:hover {
    background: #ff7875;
    border-color: #ff7875;
}

/* 新建按钮样式 */
.create-btn {
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(24, 144, 255, 0.3);
}

.create-btn:hover {
    box-shadow: 0 4px 8px rgba(24, 144, 255, 0.3);
}

/* 表格行样式 */
.question-admin-page .ant-table-row {
    transition: background-color 0.2s;
}

.question-admin-page .ant-table-row:hover {
    background-color: #fafafa;
}

/* 标签样式修复 - 防止与创建用户列重叠 */
.question-admin-page .ant-table-cell {
    padding: 12px 8px !important;
}

.question-admin-page .tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 60px;
    overflow: hidden;
}

.question-admin-page .tag-container .ant-tag {
    margin: 0;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 创建用户列样式 */
.question-admin-page .user-id-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .question-admin-page .ant-pro-table {
        margin: 0 -16px;
        border-radius: 0;
    }

    .batch-actions {
        flex-direction: column;
        gap: 8px;
    }

    .batch-btn {
        width: 100%;
    }

    .question-admin-page .ant-table-cell {
        padding: 8px 4px !important;
    }
}